package com.service;


import com.pojo.dto.Message;
import com.pojo.vo.CUsedVo;
import com.pojo.vo.SysUserVo;
import com.pojo.vo.UserVo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService {
    //用户认证
    Boolean auth(String username);

    boolean auth(String username, String password);

    Message<SysUserVo> add(SysUserVo userVo);

    List<Long> findAllUserIds();
}
